An inpatient facility is a place where people receive medical or mental health treatment while staying overnight.